{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->

<style>
	#mytab *{vertical-align:middle;}
</style>

<form method="post" action="__URL__/allot_user_privilege_ok">
	<table id="mytab"  border="1" class="t1">
		<tr>	
			<td>当前用户</td>
			<td>
				{$userInfo.name}
				<input type="hidden" name="user_id" value="{$userInfo.id}"/>
			</td>
		</tr>
		<tr>
			<td>
				会员当前权限
			</td>
			<td>
				<if condition="$userInfo.role_name eq null">
					暂时还没权限
				<else/>
					{$userInfo.role_name}
				</if>
			</td>
		</tr>
		<tr>	
			<td>选择角色</td>
			<td>
				<select name="role_id" class="select" value="">
					<volist name="roleList" id="role">
					<option value="{$role.id}">{$role.name}</option>
					</volist>					
				</select>
			</td>
		</tr>		
	</table>	
	<input type="hidden" name="user_id" value="{$userInfo.id}"/>
	<input type="submit" value="提交"/>
</form>




